package cn.edu.scau.cmi.zhengweibo.chapter2;

public class Circle {
	double radius;
	double getArea(){
		double area=3.14*radius*radius;
		return area;
	}
	public static void main(String args[]){
		Circle circle=new Circle();
		circle.radius=10;
		System.out.println(circle.getArea());
	}
}
